package com.ws.shop.entity;

import java.util.HashMap;
import java.util.Map;

public class Links extends BaseEntity{
	private int id;
	private String title;
	private String url;
	private String logo;
	private int state;
	private int ord;
	
	public final static Map<String,String> STATE_DESCS = new HashMap<String,String>();
	
	static{
		STATE_DESCS.put("0", "已禁用");
		STATE_DESCS.put("1", "正常");
	}
	
	public Links(){}
	
	public Links(int id, String title, String url, String logo, int state,int ord) {
		super();
		this.id = id;
		this.title = title;
		this.url = url;
		this.logo = logo;
		this.state = state;
		this.ord = ord;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}

	public int getOrd() {
		return ord;
	}

	public void setOrd(int ord) {
		this.ord = ord;
	}
	
}